<p class="<?php echo $msgtype?>">
<?php echo $errormsg;?>
</p>